]> dgit.raspbian.org Git - gnome-shell.git/commit
Fixes for setting up scrolling adjustments
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 10 Mar 2010 18:57:05 +0000 (13:57 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 11 Mar 2010 20:08:48 +0000 (15:08 -0500)
commitc83883f1f747195effababbbbd31bc4b4ea4a5d4
tree37d8834d5966038c60b28e89e728ce3801db76e5
parentf6cbb14393ba1f53b5677f2568ec087e79e26f87
Fixes for setting up scrolling adjustments

StScrollable: Document how to set adjustments
StBoxLayout: Make sure that we always have upper >= lower + page_size,
  so that clamping works properly. Set the page_increment to be slightly
  less than the page_size so there is some overlap, as is customary.
StScrollView: Remove unnecessary fabs() calls, rewrite expressions
  for additional clarity.

https://bugzilla.gnome.org/show_bug.cgi?id=611740
src/st/st-box-layout.c
src/st/st-scroll-view.c
src/st/st-scrollable.c